package com.iretailer.report.quartz.horizon.wsSubscribe;

import org.java_websocket.client.WebSocketClient;

import java.net.URI;
import java.util.SortedMap;

/**
 * @Auther: xjw
 * @Date: 2019/10/17 0017 15:15
 * @Description:
 */
public interface Subscribe {

    String getClientId();

    SortedMap<String, String> getWsHeaders();

    URI getWsURI();

    boolean getStatus();

    boolean subVisitors();

    boolean processMessage(String message);

    boolean cancelSub();

}
